package com.zxd.enums;

/**
 * ClassName:SexTest
 * Package:com.zxd.enums
 *
 * @Date:2023/9/22 10:55
 * @Author:zxde
 */
public class SexTest {
    public static void main(String[] args) {
        pick(Sex.GIRL);
    }

    public static void pick(Sex sex){
        switch (sex){
            case GIRL:
                System.out.println("girl logic");
                break;
            case BOY:
                System.out.println("boy logic");
                break;
        }
    }
}
